package edu.hunau.recommend.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

public class Shop implements Serializable {

    private Integer distance;

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    /**
     * 手动提供关系属性
     */
    private Category category;
    private Seller seller;



    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Seller getSeller() {
        return seller;
    }

    public void setSeller(Seller seller) {
        this.seller = seller;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }


    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private Integer id;


    private LocalDateTime createdAt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.updated_at
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private LocalDateTime updatedAt;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.name
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.remark_score
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private BigDecimal remarkScore;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.price_per_man
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private Integer pricePerMan;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.latitude
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private BigDecimal latitude;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.longitude
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private BigDecimal longitude;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.category_id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private Integer categoryId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.tags
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private String tags;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.start_time
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private String startTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.end_time
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private String endTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.address
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private String address;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.seller_id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private Integer sellerId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_shop.icon_url
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private String iconUrl;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_shop
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.id
     *
     * @return the value of t_shop.id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.id
     *
     * @param id the value for t_shop.id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.created_at
     *
     * @return the value of t_shop.created_at
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.created_at
     *
     * @param createdAt the value for t_shop.created_at
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.updated_at
     *
     * @return the value of t_shop.updated_at
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.updated_at
     *
     * @param updatedAt the value for t_shop.updated_at
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.name
     *
     * @return the value of t_shop.name
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.name
     *
     * @param name the value for t_shop.name
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.remark_score
     *
     * @return the value of t_shop.remark_score
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public BigDecimal getRemarkScore() {
        return remarkScore;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.remark_score
     *
     * @param remarkScore the value for t_shop.remark_score
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setRemarkScore(BigDecimal remarkScore) {
        this.remarkScore = remarkScore;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.price_per_man
     *
     * @return the value of t_shop.price_per_man
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public Integer getPricePerMan() {
        return pricePerMan;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.price_per_man
     *
     * @param pricePerMan the value for t_shop.price_per_man
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setPricePerMan(Integer pricePerMan) {
        this.pricePerMan = pricePerMan;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.latitude
     *
     * @return the value of t_shop.latitude
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public BigDecimal getLatitude() {
        return latitude;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.latitude
     *
     * @param latitude the value for t_shop.latitude
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.longitude
     *
     * @return the value of t_shop.longitude
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public BigDecimal getLongitude() {
        return longitude;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.longitude
     *
     * @param longitude the value for t_shop.longitude
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.category_id
     *
     * @return the value of t_shop.category_id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public Integer getCategoryId() {
        return categoryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.category_id
     *
     * @param categoryId the value for t_shop.category_id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.tags
     *
     * @return the value of t_shop.tags
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public String getTags() {
        return tags;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.tags
     *
     * @param tags the value for t_shop.tags
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.start_time
     *
     * @return the value of t_shop.start_time
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public String getStartTime() {
        return startTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.start_time
     *
     * @param startTime the value for t_shop.start_time
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.end_time
     *
     * @return the value of t_shop.end_time
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public String getEndTime() {
        return endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.end_time
     *
     * @param endTime the value for t_shop.end_time
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.address
     *
     * @return the value of t_shop.address
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public String getAddress() {
        return address;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.address
     *
     * @param address the value for t_shop.address
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.seller_id
     *
     * @return the value of t_shop.seller_id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public Integer getSellerId() {
        return sellerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.seller_id
     *
     * @param sellerId the value for t_shop.seller_id
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_shop.icon_url
     *
     * @return the value of t_shop.icon_url
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public String getIconUrl() {
        return iconUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_shop.icon_url
     *
     * @param iconUrl the value for t_shop.icon_url
     *
     * @mbg.generated Tue Sep 20 11:09:30 CST 2022
     */
    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl == null ? null : iconUrl.trim();
    }
}